const { Schema, SchemaTypes } = require('../schema');
class Qa extends Schema {
    PropertyModelDataTemplate () {
        return {
            question: { type: SchemaTypes.String, required: true },
            answer: { type: SchemaTypes.String, required: true },
            sort: { type: SchemaTypes.Number, required: true, default: 0 },
            createTime: { type: SchemaTypes.Number, required: true, default: require('../../module/tool/time').getCurrentTimestamp() }
        };
    }
}

module.exports = Qa;
